
package jweslley.ContestVolumes.VolumeCIII;

import static java.lang.Math.sqrt;

/**
 * http://icpcres.ecs.baylor.edu/onlinejudge/external/103/10347.html
 *
 * @author  Jonhnny Weslley
 * @version 1.00, 20/10/2008
 */
public class Medians {

	public static void main(String[] args) {
		System.out.println(area(3,3,3));
	}

	static double area(double a, double b, double c) {
		double l = a + b + c;
		System.out.println("l: " + l);
		double s = l / 2;
		System.out.println("s: " + s);
		double sqr = s * (s - a) * (s - b) * (s - c);
		return 4/3 * sqrt(sqr);
	}
}
